const api = require('./index.js');
// 获取用户相关会员卡信息
export const ajaxGetUserListByTel = (params)=> api.post('/user/getUserListByTel' ,params)

// 获取用户比赛记录
export const ajaxGetUserGameRecordsOutVoList = (params)=> api.post('/user/getUserGameRecordsOutVoList' ,params)

// 获取用户点数消费记录 or 储值卡消费记录
export const ajaxGetUserPointsRecordOrPetCard = (params)=> api.post('/user/getUserPointsRecordOrPetCard' ,params)

// 获取用户比赛安排
export const ajaxGetUserGameDate = (params)=> api.post('/session/getUserGameDate' ,params)

// 获取场次结果
export const ajaxGetSessionResultOutVo = (params)=> api.post('/session/getSessionResultOutVo' ,params)

// 获取场次结果打印
export const ajaxGetSessionPrintOutVo = (params)=> api.post('/session/getSessionPrintOutVo' ,params)

// 添加用户至散客队列
export const ajaxAddUserToQueue = (params)=> api.post('/user/addUserToQueue' ,params)

// 比赛实况
export const ajaxGetDataBySlideType = (params)=> api.post('/slide/getDataBySlideType' ,params)

// 填写预约
export const ajaxWriteSerialNumber = (params)=> api.post('/user/writeSerialNumber' ,params)

// 修改用户头像
export const ajaxUpdateUserImage = (params)=> api.post('/user/updateUserImage' ,params)

export const ajaxGetRanks = (params)=> api.post('/session/getRanks' ,params)


